<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: example/state.cpp 文件参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_cfafba98a580ce4b62f8a6fa96d7cbb0.html">example</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#enum-members">枚举</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle"><div class="title">state.cpp 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;iostream&gt;</code><br />
<code>#include &lt;thread&gt;</code><br />
<code>#include &quot;<a class="el" href="../../da/d3b/state_8hpp_source.html">designM/state.hpp</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
state.cpp 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d6/d5b/state_8cpp__incl.png" border="0" usemap="#aexample_2state_8cpp" alt=""/></div>
<map name="aexample_2state_8cpp" id="aexample_2state_8cpp">
<area shape="rect" title=" " alt="" coords="74,5,202,32"/>
<area shape="rect" title=" " alt="" coords="29,80,100,107"/>
<area shape="poly" title=" " alt="" coords="127,34,90,71,86,67,123,31"/>
<area shape="rect" title=" " alt="" coords="5,229,63,256"/>
<area shape="poly" title=" " alt="" coords="138,33,129,67,115,108,84,168,53,218,49,215,80,165,110,106,124,65,133,31"/>
<area shape="rect" href="../../da/d3b/state_8hpp.html" title=" " alt="" coords="723,80,852,107"/>
<area shape="poly" title=" " alt="" coords="203,25,708,81,707,86,202,30"/>
<area shape="rect" title=" " alt="" coords="956,229,1038,256"/>
<area shape="poly" title=" " alt="" coords="807,105,968,218,965,222,804,109"/>
<area shape="rect" title=" " alt="" coords="1062,229,1139,256"/>
<area shape="poly" title=" " alt="" coords="815,105,1062,220,1059,225,813,110"/>
<area shape="rect" title=" " alt="" coords="86,229,155,256"/>
<area shape="poly" title=" " alt="" coords="726,110,487,160,170,231,169,226,486,155,725,105"/>
<area shape="rect" title=" " alt="" coords="764,155,810,181"/>
<area shape="poly" title=" " alt="" coords="790,107,790,139,785,139,785,107"/>
<area shape="rect" title=" " alt="" coords="875,229,932,256"/>
<area shape="poly" title=" " alt="" coords="799,106,886,215,882,218,795,109"/>
<area shape="rect" href="../../db/d94/mediator_8hpp.html" title=" " alt="" coords="537,155,686,181"/>
<area shape="poly" title=" " alt="" coords="758,110,657,151,655,146,756,105"/>
<area shape="poly" title=" " alt="" coords="537,176,333,194,207,210,78,232,77,226,207,204,333,188,536,171"/>
<area shape="poly" title=" " alt="" coords="687,179,941,226,940,231,686,184"/>
<area shape="poly" title=" " alt="" coords="687,175,848,195,1047,226,1046,232,848,200,686,180"/>
<area shape="poly" title=" " alt="" coords="537,179,373,199,171,232,170,226,372,194,536,174"/>
<area shape="poly" title=" " alt="" coords="669,179,860,226,859,231,668,185"/>
<area shape="rect" title=" " alt="" coords="748,229,851,256"/>
<area shape="poly" title=" " alt="" coords="645,179,753,221,751,226,643,184"/>
<area shape="rect" title=" " alt="" coords="180,229,254,256"/>
<area shape="poly" title=" " alt="" coords="537,183,415,203,269,231,268,226,414,198,536,178"/>
<area shape="rect" title=" " alt="" coords="277,229,327,256"/>
<area shape="poly" title=" " alt="" coords="547,185,454,204,342,232,341,226,453,199,546,179"/>
<area shape="rect" title=" " alt="" coords="351,229,477,256"/>
<area shape="poly" title=" " alt="" coords="578,184,464,226,462,221,576,179"/>
<area shape="rect" title=" " alt="" coords="501,229,559,256"/>
<area shape="poly" title=" " alt="" coords="599,184,557,221,553,217,595,180"/>
<area shape="rect" title=" " alt="" coords="583,229,640,256"/>
<area shape="poly" title=" " alt="" coords="614,182,614,214,609,214,609,182"/>
<area shape="rect" title=" " alt="" coords="664,229,724,256"/>
<area shape="poly" title=" " alt="" coords="627,180,670,217,667,221,624,184"/>
</map>
</div>
</div>
<p><a href="../../da/da4/state_8cpp_source.html">浏览该文件的源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:a05cbf65951166c4385cb47beb0c08ae7" id="r_a05cbf65951166c4385cb47beb0c08ae7"><td class="memItemLeft" align="right" valign="top">enum class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a05cbf65951166c4385cb47beb0c08ae7">MyState</a> { <br />
&#160;&#160;<a class="el" href="#a05cbf65951166c4385cb47beb0c08ae7a7bbe9acbfb3313d91f7a9ae015482467">STATE_A</a>
, <a class="el" href="#a05cbf65951166c4385cb47beb0c08ae7a9e5eaba6afeea332bb922c59665a8d41">STATE_B</a>
, <a class="el" href="#a05cbf65951166c4385cb47beb0c08ae7a3bd7f11954d8c9dc1395cb2500469115">STATE_C</a>
, <a class="el" href="#a05cbf65951166c4385cb47beb0c08ae7ab9825809950c987bdaf7378d2762436a">STATE_Start</a>
, <br />
&#160;&#160;<a class="el" href="#a05cbf65951166c4385cb47beb0c08ae7a7bbe9acbfb3313d91f7a9ae015482467">STATE_A</a>
, <a class="el" href="#a05cbf65951166c4385cb47beb0c08ae7a9e5eaba6afeea332bb922c59665a8d41">STATE_B</a>
, <a class="el" href="#a05cbf65951166c4385cb47beb0c08ae7a3bd7f11954d8c9dc1395cb2500469115">STATE_C</a>
, <a class="el" href="#a05cbf65951166c4385cb47beb0c08ae7aa04602404aa4a2e4138c5d7fa09b5973">STATE_End</a>
<br />
 }</td></tr>
<tr class="separator:a05cbf65951166c4385cb47beb0c08ae7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">枚举类型说明</h2>
<a id="a05cbf65951166c4385cb47beb0c08ae7" name="a05cbf65951166c4385cb47beb0c08ae7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05cbf65951166c4385cb47beb0c08ae7">&#9670;&#160;</a></span>MyState</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">enum class <a class="el" href="#a05cbf65951166c4385cb47beb0c08ae7">MyState</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="a05cbf65951166c4385cb47beb0c08ae7a7bbe9acbfb3313d91f7a9ae015482467" name="a05cbf65951166c4385cb47beb0c08ae7a7bbe9acbfb3313d91f7a9ae015482467"></a>STATE_A&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a05cbf65951166c4385cb47beb0c08ae7a9e5eaba6afeea332bb922c59665a8d41" name="a05cbf65951166c4385cb47beb0c08ae7a9e5eaba6afeea332bb922c59665a8d41"></a>STATE_B&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a05cbf65951166c4385cb47beb0c08ae7a3bd7f11954d8c9dc1395cb2500469115" name="a05cbf65951166c4385cb47beb0c08ae7a3bd7f11954d8c9dc1395cb2500469115"></a>STATE_C&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a05cbf65951166c4385cb47beb0c08ae7ab9825809950c987bdaf7378d2762436a" name="a05cbf65951166c4385cb47beb0c08ae7ab9825809950c987bdaf7378d2762436a"></a>STATE_Start&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a05cbf65951166c4385cb47beb0c08ae7a7bbe9acbfb3313d91f7a9ae015482467" name="a05cbf65951166c4385cb47beb0c08ae7a7bbe9acbfb3313d91f7a9ae015482467"></a>STATE_A&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a05cbf65951166c4385cb47beb0c08ae7a9e5eaba6afeea332bb922c59665a8d41" name="a05cbf65951166c4385cb47beb0c08ae7a9e5eaba6afeea332bb922c59665a8d41"></a>STATE_B&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a05cbf65951166c4385cb47beb0c08ae7a3bd7f11954d8c9dc1395cb2500469115" name="a05cbf65951166c4385cb47beb0c08ae7a3bd7f11954d8c9dc1395cb2500469115"></a>STATE_C&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a05cbf65951166c4385cb47beb0c08ae7aa04602404aa4a2e4138c5d7fa09b5973" name="a05cbf65951166c4385cb47beb0c08ae7aa04602404aa4a2e4138c5d7fa09b5973"></a>STATE_End&#160;</td><td class="fielddoc"></td></tr>
</table>

<p class="definition">在文件 <a class="el" href="../../da/da4/state_8cpp_source.html">state.cpp</a> 第 <a class="el" href="../../da/da4/state_8cpp_source.html#l00007">7</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="ae66f6b31b5ad750f1fe042a706a4e3d4" name="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae66f6b31b5ad750f1fe042a706a4e3d4">&#9670;&#160;</a></span>main()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../da/da4/state_8cpp_source.html">state.cpp</a> 第 <a class="el" href="../../da/da4/state_8cpp_source.html#l00013">13</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../da/da4/state_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.png" border="0" usemap="#ada/da4/state_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph" alt=""/></div>
<map name="ada/da4/state_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph" id="ada/da4/state_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph">
<area shape="rect" title=" " alt="" coords="5,13,55,40"/>
<area shape="rect" href="../../d2/d44/classwheels_1_1dm_1_1state.html#a0b96900875a4246a74c44982a759f976" title="删除状态。接下来的是添加和删除节点和状态连接的操作" alt="" coords="103,5,236,48"/>
<area shape="poly" title=" " alt="" coords="55,24,87,24,87,29,55,29"/>
</map>
</div>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
